package cn.com.surker.material.dao;

import cn.com.surker.material.entity.WeighMessage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 过磅消息推送表 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2022-10-12
 */
public interface WeighMessageDao extends BaseMapper<WeighMessage> {

    /**
     * 查询驾驶员最新消息
     * @param openid
     * @param time
     * @return
     */
    List<WeighMessage> findDriverMessage(String openid, String time);

}
